<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:65:"D:\WWW\ZL\blog\public/../application/home\view\index\article.html";i:1564553149;s:63:"D:\WWW\ZL\blog\public/../application/home\view\public\head.html";i:1564449309;s:64:"D:\WWW\ZL\blog\public/../application/home\view\public\right.html";i:1564449309;s:65:"D:\WWW\ZL\blog\public/../application/home\view\public\footer.html";i:1564537651;}*/ ?>
﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<title><?php echo $one['title']?> - <?php echo $config['site_name']?></title>
	<meta name="keywords" content="<?php
		$str = '';
		foreach($article_tag as $v) {
			$str .= $v['tag_name'].',';
		}
		echo trim($str,',');
		?>">
	<meta name="description" content="<?php echo $one['introduction']?>">
	<link rel='dns-prefetch' href='//cdn.bootcss.com' />
	<link rel='dns-prefetch' href='//s.w.org' />
	<link rel='stylesheet' id='style-css'  href='__HOME__/style/style.css' type='text/css' media='all' />
	<link rel='stylesheet' id='toc-screen-css'  href='__HOME__/style/screen.min.css' type='text/css' media='all' />
	<style>.article-content{font-size: 14px;}@media (max-width:640px){.article-content{font-size:16px}}.navbar .logo{width:160px}@media (max-width: 979px){.navbar .logo{width:100%}}</style><!--[if lt IE 9]><script src="__HOME__/js/html5.js"></script><![endif]-->
	<script type="text/javascript" src="/static/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
	<link rel="stylesheet" href="/static/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css">
	<script type="text/javascript">
		SyntaxHighlighter.all();
	</script>
	<script type="text/javascript" src="__HOME__/js/clipboard.min.js"></script>
</head>
<body class="post-template-default single single-post postid-2117 single-format-standard">
<div class="navbar-wrap">
	<script>
    window._deel = {
        ajaxpager: '',
        maillist: '',
        maillistCode: '',
        commenton: 0,
        roll: [1,1],
        tougaoContentmin: 200,
        tougaoContentmax: 5000,
    }
</script>
<div class="navbar">
    <h1 class="logo"><a href="<?php echo $config['site_url']?>" title="<?php echo $config['site_name']?>"><?php echo $config['site_name']?></a></h1>
    <ul class="nav">
        <li id="menu-item-5" class="menu-item menu-item-type-custom menu-item-object-custom <?php echo empty($type_id) ? 'current-menu-item current_page_item' : ''?> menu-item-home menu-item-5"><a href="<?php echo $config['site_url']?>">首页</a></li>
        <?php foreach($type as $v){?>
            <li id="menu-item-<?php echo $v['id']?>"
                class="menu-item menu-item-type-taxonomy menu-item-object-category <?php echo $v['id'] == $type_id ? 'current-menu-item current_page_item' : ''?> menu-item-<?php echo $v['id']?>"><a href="/category/<?php echo $v['id']?>"><?php echo $v['type_name']?></a></li>
        <?php } ?>
        <!--<li id="menu-item-505" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-505"><a href="http://www.awaimai.com/category/advanced">进阶</a>
            <ul class="sub-menu">
                <li id="menu-item-289" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-289"><a href="http://www.awaimai.com/category/server">服务器</a></li>
                <li id="menu-item-507" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-507"><a href="http://www.awaimai.com/category/advanced/git">Git</a></li>
                <li id="menu-item-508" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-508"><a href="http://www.awaimai.com/category/advanced/habbit">编程习惯</a></li>
                <li id="menu-item-506" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-506"><a href="http://www.awaimai.com/category/advanced/asp">ASP</a></li>
                <li id="menu-item-394" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-394"><a href="http://www.awaimai.com/category/cms">CMS</a>
                    <ul class="sub-menu">
                        <li id="menu-item-500" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-500"><a href="http://www.awaimai.com/category/cms/mediawiki">MediaWiki</a></li>
                        <li id="menu-item-501" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-501"><a href="http://www.awaimai.com/category/cms/opencart">Opencart</a></li>
                        <li id="menu-item-502" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-502"><a href="http://www.awaimai.com/category/cms/wordpress">WordPress</a></li>
                    </ul>
                </li>
            </ul>
        </li>-->

    </ul>

    <div class="menu pull-right">
        <form method="get" class="dropdown search-form" action="/tagArticle" >
            <input class="search-input" name="search" type="text" placeholder="输入关键字搜索" value="<?php echo $search?>" x-webkit-speech="">
            <input class="btn btn-success search-submit" type="submit" value="搜索">
            <ul class="dropdown-menu search-suggest"></ul>
        </form>
    </div>
</div>
</div>
<header class="header"></header>
<section class="container">
	<div class="content-wrap">
	<div class="content">
		<div class="breadcrumbs">你的位置：
			<a href="<?php echo $config['site_url']?>"><?php echo $config['site_name']?></a> <small>></small>
			<a href="/category/<?php echo $one['type_id']?>"><?php echo $one['type_name']?></a> <small>></small>
			<span class="muted"><?php echo $one['title']?></span>
		</div>
			<header class="article-header">
				<h1 class="article-title"><a href="/article/<?php echo $one['id']?>"><?php echo $one['title']?></a></h1>
				<div class="meta">
					<span class="muted"><a href="/category/<?php echo $one['type_id']?>"><i class="icon-list-alt icon12"></i> <?php echo $one['type_name']?></a></span>
					<time class="muted"><i class="ico icon-time icon12"></i> <?php echo formatDate($one['create_time'])?> (<?php echo date('Y-m-d',$one['create_time'])?>)</time>
					<span class="muted"><i class="ico icon-eye-open icon12"></i> <?php echo $one['reading_num']?>浏览</span>
					<span class="muted"><i class="icon-comment icon12"></i> <a href="/article/<?php echo $one['id']?>#respond"><span id = "sourceId::<?php echo $one['id']?>" class = "cy_cmt_count" ></span><script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyryTyLri"></script>评论</a></span>
				</div>
			</header>

		<article class="article-content">
			<?php echo html_entity_decode($one['content'])?>		
			<p>源码安装、技术讨论、二次开发联系微信:</p>
			<p><img referrerPolicy="no-referrer" width="150" src="https://wx2.sinaimg.cn/large/bf84aaeagy1g5iz883o4ej20h80gyq48"/></p>
		</article>

		<footer class="article-footer">
			<div class="article-tags">继续浏览有关
				<?php foreach($article_tag as $v){?>
					<a href="/tagArticle/<?php echo $v['id']?>" rel="tag"><?php echo $v['tag_name']?></a>
				<?php } ?>
				的文章
			</div>
		</footer>
		<nav class="article-nav">
			<span class="article-nav-prev"><?php echo empty($previous_article['title']) ?  '': '上一篇'?>
				<a href="<?php echo empty($previous_article['title']) ? 'javascript:void(0)' : '/article/'.$previous_article['id']?>" rel="prev"><?php echo empty($previous_article['title']) ? '没有了' : $previous_article['title']?></a></span>
			<span class="article-nav-next">
				<a href="<?php echo empty($next_article) ? 'javascript:void(0)' : '/article/'.$next_article['id']?>" rel="next"><?php echo empty($next_article['title']) ? '没有了' : $next_article['title']?></a>
				<?php echo empty($next['title']) ? '' : '下一篇'?></span>
		</nav>

		<div class="relates">
			<h3>相关文章</h3>
			<ul>
				<?php foreach($related_article as $v){?>
				<li><a href="/article/<?php echo $v['id']?>"><?php echo $v['title']?></a></li>
				<?php } ?>
			</ul>
		</div>

	</div>
</div>
	<!-------右边开始------->
	<aside class="sidebar">
		<!--<div class="widget d_textbanner">
    <a class="style02" href=""><strong></strong><h2>PHP设计模式完美教程</h2>
        <p>12种设计模式 •UML类图 •设计原则<br /> •PHP代码例程 •简单易懂</p>
    </a>
</div>-->
<div class="widget widget_views-plus">
    <h3 class="widget_tit">热门文章</h3>
    <ul>
        <?php foreach($reading_article as $v){?>
        <li><a href="/article/<?php echo $v['id']?>"  title="<?php echo $v['title']?>"><?php echo mb_substr($v['title'],0,23,'utf-8')?></a></li>
        <?php } ?>
    </ul>
</div>
<div class="widget d_tag">
    <h3 class="widget_tit">标签</h3>
    <div class="d_tags">
        <?php foreach($tag as $v){?>
         <a href="/tagArticle/<?php echo $v['id']?>"><?php echo $v['tag_name']?> (<?php echo $v['count']?>)</a>
        <?php } ?>
    </div>
</div>
<div class="widget d_comment">
    <h3 class="widget_tit">最新评论</h3>
    <ul>

        <div id="cyReping" role="cylabs" data-use="reping"></div>
        <script type="text/javascript" charset="utf-8" src="https://changyan.itc.cn/js/lib/jquery.js"></script>
        <script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cyryTyLri"></script>
    </ul>
</div>


	</aside>
</section>
	<footer class="footer">
    <div class="footer-inner">
        <div class="copyright pull-left">
            <?php echo $config['copyright_information']?>
		<a href="<?php echo $config['site_url']?>"><?php echo $config['site_name']?></a>
		
        </div>
        <div class="trackcode pull-right">
            <a href="http://www.miitbeian.gov.cn/" rel="external nofollow" target="_blank">
                <?php echo $config['case_number']?></a>
        </div>	
    </div>
</footer>
<script type='text/javascript' src='https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js'></script>



	<script>
		 $(".syntaxhighlighter").click(function(){
			 alert(1);
		 });

	</script>


</div>
</body>
</html>
